package speed.utils;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

import speed.mvc.action.BaseAction;


/**
 * 对控制器的配置保存到内存中去
 * 
 * @author zhaohaolin(zhaohaolin2010@gmail.com)
 */
public class ActionBeanConfig {

    public static ConcurrentMap<String, BaseAction> actionBeanMap = new ConcurrentHashMap<String, BaseAction>();

    //根据path查询Action的实例对像
    public static BaseAction getActionByPath(String path) {
	return actionBeanMap.get(path);
    }

}
